package com.aldd;

public class Teacher {
	private String name;

	private Lesson lesson=new Lesson();

	public Teacher(String name, String lname) {

		this.name = name;

		this.lesson.setLname(lname);
	}

	public String getName() {

		return name;

	}

	public void setName(String name) {

		this.name = name;

	}
	public Lesson getLesson() {

		return lesson;

	}
	public void setLesson(Lesson lesson) {

		this.lesson = lesson;

	}

}
